﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using VersionComparer.Base;

namespace VersionComparer.DataModel.Assemblies
{
    [Serializable]
    [Order(8)]
    public class ConstructorItem : MethodBaseItem<ConstructorInfo>
    {

        protected override string GetName(ConstructorInfo value)
        {
            string name = value.DeclaringType.Name;
            return name;
        }


        protected override CustomAttributeData[] GetAttributes(ConstructorInfo value)
        {
            return CustomAttributeData.GetCustomAttributes(value).ToArray();
        }


    }
}
